pylint: termination fix