Do not let 'appa shell' crash if the container has been removed while the shell is running.