Add note about problem on Mac OS x.
Set the receiveTimeout so it's noblocking.
More complete example