Add some debugging output and nix the sleep()