Work towards server reading in separate thread