fix crash when pushing and pulling from the same channel in a select()