Fix memory leak caused by creating too many LeScanCallbacks.