Added clear method to driver to clear the queue of pending transactions