Catch generic exceptions and do not use -9 to bring down appservers