Implemented sending timeout
Merge pull request #1 from gregory-m/timeout

Sending timeout