Sleep on another thread so the application doesn't go unresponsive

Signed-off-by: Kurt Cancemi <kurt@x64Architecture.com>