Re-add "usleep" import
Collapse embedded newlines