Disable interrupts while reading from stdin