Properly shut down on forced shut downs (thus removing ircbot.pid)