added timeout functionality -- if a poll exceeds 10 seconds by default, the response type is interrupted, which is a failure