Make sleep() in serve_networks() tunable

Also add some documentation.

This is in response to issue #318.