Updated assembly not to run in background due to Win platform