Optimized Bootstrapper execution time with in-memory database.
Use monitor.Enter()/Exit instead of lock (closed #16)