Using asyncExec to dispose shell.