rescue exception if the jasmine server has already shut down by the time we wait