iniciando/parando adequadamente o thread running.