fix promise bug in Server.start()