Reverted to process kill instead of close.