Smarter request timeout for stopping a container

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>