first try at cleaning up the code. sleep after fusermount -u