Removed sleeps that are no longer needed.