Crash issue fix by stopping timer invocation during cleanup