Use JDBC "ping" query to keep-alive. Re-locate table creation.