Tried to fix the deadlock. Didn't.
Removed lots of extra print statements