Add locking methods, add sql_disconnect()
Allow interactive sessions to be launched without a connection, and for new connections to be established within a session