Wait for first request to finish to properly obtain session id