fix bug where creating an error on creating a keyspace did not clean up after itself.