Added default argument to __init__ to allow disabling of printed serial errors during retries.