Remove suspected cause of the leak. Change the way of handling bad commands.