move _end_monitor() outside of _start_monitor_if_necessary()
move _end_monitor() outside of _start_monitor_if_necessary()

alphatwirl/alphatwirl,alphatwirl/alphatwirl,alphatwirl/alphatwirl,alphatwirl/alphatwirl