Utility class to timeout blocks dispatched to queue