Add debug messages to the status check function in ip_failover helper