wiasane: First steps to improve the internal error handling
wiasane: Further steps to improve the internal error handling

Check if connection is still alive before sending commands.