Fix no error messages when there are connectivity problems

This solves #57.