Wait 1 second after application throw AbandonedMutexException to ensure it is exited.

Signed-off-by: Xelio Cheong <xelio.cheong@gmail.com>