Made database queries during run start asynchronous