Fixes assertion error in brpoplpush w/ timeout.