add speed tests for connect and disconnect