Fixing receiver thread