Acidentally moved the to-socket instead of the mutex in my last commit.