Fixing max_handles and proxying