When using monitoring, the exit call is part of the print_result function, making these last tests before exiting unnecessary