wait with return value
Merge pull request #11 from sequenceiq/wait-handle-timeout

wait with return value