Moving sleep so that it happens after all users are processed