Don't use timer after it's been deleted
Merge pull request #3 from Metaswitch/delete_segfault

[No reviewer] Don't use timer after it's been deleted