Tests cannot rely on sleeping to work correctly. This needs to be changed to only return when the Nimbus server is ready to receive requests.