Handle SIGWINCH.