Automatic Task and fix connection_manager