Set the add prepared statement to NULL after finalizing it.