monitor: Simplify monitor_fd_param()'s error handling