Along with #32252, it turns out that the JMS SingleConnectionFactory and also the JDBC SingleConnectionDataSource should also benefit from a synchronization-free lifecycle lock arrangement for startup/shutdown.