Adding sleep() to doc as resolution.
Addeding connect() and accept() logic.