Remove lurking newline
Fix race in case SIGCHLD received before writer is stored