When trying to send back the elements of my arraylist, it only displays the first 2 elements and nothing else, until the client sends any command, which will then print the next