def evict(self, older_than: datetime):
     statement = Message.delete_statement()
     try:
         with self.connection as conn:
             with conn.cursor() as cursor:
                 cursor.execute(statement, {'device_timestamp': older_than})
     except Exception:
         logger.exception(
             f"Unable to delete messages prior to [{older_than}]")