removing mqtt function from tasks