Add abort traps to prevent stalls.
Clean code by combining read statements