Added usleep to pause method.