Time improvements in the sandbox.

We reduced the amount of time sleeping and removing unnecessary sleeps as well