add end pause

Signed-off-by: Yannick Gaudin <ygaudin@insa-rennes.fr>