Adding dependencies check in service thread