Pausing timer in mytimeout

It's a similar use case we discussed here: