Improve performance, add new test

No need to wait until timeout when a response is completely received.
Add new test to measure the time for read operation. Result: every read
takes < 7ms.