s/terminateHandler/shutdownHandler/ in comments/docs

The name in the code was changed a while back.