Prevent memory leak from reoccurring when presence is disabled.