[PATCH net-next] selftests: net: py: handle interrupt during cleanup