Detached threads for writer and reader, now it responds appropriately