Crash by SIGPIPE is prevented.