Make takeoff more robust (fix infinite loop when server fails to start, better hard kill handling, timeout as arg)