running server to get access token and killing it after