Buffer commands in memory before starting to send to avoid any local IO issues affecting tests