cleanup rspec window, add close window