Monitoring server status

Occasionally, my meteor instances lose their connections to the database. Most of the times the connections are restored after a few tries, but once in a while they stay dead until I restart the instances. Is there a way to check connections regularly and auto restart meteor if needed?