added stop db
catching the start event