Arjay is right - sleep() wont help as the program is starting up...tried it.