Check if settings is empty before listening on serial port