BUG Fix session_write_close being called when module is disabled.
Merge pull request #3 from tractorcow/pulls/close

BUG Fix session_write_close being called when module is disabled.