Added a timeout in urllopen. Closes #58.