Added a small delay in the test for starting and stopping servers because Travis sometimes does not immediately free a port even though it actually should.