Clear the delegate on release to prevent async crash