fix queues related to closed queue and poping values
add thread_affinity() to fiber's public interface