try the socket read 5 times