Provide close callback
Add force-exit flag