Fix did close delegate