Enforce more security on unfinished commands.