Refactoring of read complete. Audio still streams.
Added provisions for server to be able to terminate its connection with the client.