Removed force close when no terminal can be found for use on server environments.