Removed locking, this is done for a performance test.