Make sure status() returns a message also on bad connection

Closes #2173.