Implementado reset na conditional_variable