[cli] optimize workspace builder error handling. give option to kill, attach or detach session