Failed because of a database locking storm between the three waiting newsince REST requests (which polled the database) and the concurrent 'meshms send' CLI commands. Changed to use REST requests instead of CLI for 'meshms send'.
meshms_add_messages() now puts message texts into TEXT[$n] array instead of "text$n" files