slack.py: make buildbot don't crash at sighup/reconfig

This is not tested with the slack plugin, but i used your code as
layout for my own custom status plugin for buildbot, this was missing
code for me.

Signed-off-by: Mattias Ryrlén <mattiasr@op5.com>