Fix problem where write would block (with event machine)