fix the logger reference
add an option to set a timeout on read operations, for example in cases we dont want to be waiting while server connection got lost