layer_consumers_ must have a longer life span than executor_ in stage.cpp