put end request in a loop that keeps checking for open requests