Massive stars regulate star formation in nearby molecular cloud