add 1 second sleep to possible help with network connections