import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
fun main(){
GlobalScope.launch {
val mqtt = MqttSubscriber()
mqtt.connect()
delay(10000L)
mqtt.disconnect()
}