Collect return codes from monitoring handlers and indicate errors