Add explicit check for if timeout_heap has been set to None before doing any heap actions with _timeout_heap.
Add explicit check for if timeout_heap has been set to None before doing any heap actions with _timeout_heap.

pika/pika