Enforce socket in blocking mode during test where "gets" is expected to wait for a reply