Added support for executing multiple commands on the same connection.