make sure we remove the handler set by basicConfig - fixes #636