Added force close on graceful_close_session function.