Adjust commands for DSpace 4, handle upload timeout