Fix an issue where the blob metadata was not actually cleared after Stop()

+ Some refactoring and increase in the test sleep timeouts