Add missing method getThreadsLimit()
Implement configuration of threads limit
Set php sleep to half second