Added Thread.wait to ensure Usage Stats are sent back to server.