- added method server.waitForStart()