
Instead of continuously updating the status of the server object, the monitor should update the pending_status of the monitor object and then only at the end update the status of the server object.
Instead of continuously updating the status of the server object, the monitor should update the pending_status of the monitor object and then only at the end update the status of the server object.