Our commands API has a strong binding to their connection by exposing the connection, open state, reset, command flushing, and getStatefulConnection methods. To restrict the number of possible ways to achieve something, we should guide users towards using the StatefulConnection and remove those methods on the commands API. Going forward, the cleanup can help to achieve codec-switching in the future.