Unbind event handlers after not needed anymore.