Lock a Hikari DB connection, Thread.sleep(1 hour) waiting for a file transfer, then proceed.
​What happened: DB server timed out the idle socket and threw a Communications Link Failure on wake-up.
​Either keep the connection alive or release it before long file waits, boss! 💀