Actually exit after printing version message

Signed-off-by: Masood Behabadi <masood@dentcat.com>