Restored .NET 4.0 support

Need .NET 4.0 support for a project that can't upgrade yet

Using PeriodicTaskFactory which is hardened for production use to
prevent overruns of periodic tasks when the system is under stress.