added sleep to binaries safe threaded