return value for isConnected was always the oposite

Signed-off-by: Michel Verbraak <info@1st-setup.nl>