It seems that if you read to frequently from the ports the program crashes
Activity