Add soft timeout

Extreme timeout is somewhat barbarous. Add a soft timeout to be gentle.
Merge pull request #5 from cookpad/soft_timeout

Add soft timeout