code to remove mount points on failure exit
code to remove mount points on failure exit