Clean up expired messages for SQLAlchemy driver

Change-Id: I1d14258528bdea89399d491d45e5e1dfd1b06b50
Closes-Bug: #1331228
Merge "Clean up expired messages for SQLAlchemy driver"