Wildfire Locks when connection to MySQL is lost

I have Wildfire and MySQL on different servers. If I reboot the server that is running MySQL then Wildfire cant seem to find it when it comes back online. If I try to restart the Wildfire services the services locks up and I have to reboot the server running Wildfire. Any fix for this?