Closes the current report