Handle shutdown signals from poolboy.