Catching any exception to avoid server to totally crash.