Added ARC safety check around release call