brpop and friends need special handling