print exception stacktrace if error during pool