retry
retry copied to clipboard
Pull request with context manager improvements.
Changed the context manager for reliability, seems like enter / exit methods are simpler to read sometimes. Removed the stdout prints. Added threaded test -- threaded tests are not fully predictable, and call actual threaded calls instead of mocks; maybe this one will be disabled in the future.