Handles if there is no device to connect to