wiherek: are you saying that there will be many post requests like that, and you want the callback function to be executed only on the last one?