Don't call sleep if we were never awakened.
Updated php config
Merge