Pass a block to EM.defer instead of creating a proc.