Optimization of SIGWINCH handling.