Added sleep to network test in case the socket takes longer to create on Travis