fixes timeout issue in server