Include stack traces on std out for logging.
Cache prepared statement preperation.