Run a block of code safely and quietly.