API is one of the subsystems that work with messaging service. To keep the dependencies correct the related API stuff should be stopped before the messaging service stops. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>