Judge gives Elon Musk and Twitter three weeks to close