Fixed data received after completed connection

Fixes #18.