set default polling duration for socket to 3 second