Fix logs -f hanging on stopped containers Upstream-commit: 228eda4fd5a79dfe5eab1194f4133a71472fef0e Component: engine