Some improvements in InMemoryConnector for CROSSDATA-270 feature