testing braindead sleep function -- should really spawn a worker but this is just server testing...