Can this be made more explicit to catch only the exception(s) you are expecting? Catching all exceptions can hide legitimate, non-related errors and make it hard to debug in the future.