Timeout ops

I want to add some unit tests but what do you think of this approach for now