Monitor timeout

added a timeout to the pending requests
I should've been clearer I'm sorry. Basically in order to respect the timeout, you need a sampling rate that's at most half of your timeout duration.