How to handle when WordPress db connections fail