added command to close all inactive buffers