fix: prevent the loader from hanging when stopped

This fix addresses issues found here: https://groups.google.com/forum/#!topic/kivy-users/wAPRCk9eHYg