Add --wait handle to atom editor