Revert "Add sleep to avoid client quits because server is not ready (UT)"

This reverts commit 27567ee3e7e5ea7fa96f842fad2c7b63ad5d4c6c.