Fixed bug in get_status and also made change in terminate fixes [COGE-217].
Fixed bug in get_status and also made change in terminate fixes [COGE-217].

asherkhb/coge,LyonsLab/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,LyonsLab/coge,LyonsLab/coge,LyonsLab/coge,asherkhb/coge