Be more careful with locking

@paused was being accessed concurrently.  Since it was just a bool it
would have been fine, so this is just for consistency.  (Also, someone
may add more code later on.)