Add multiprocess imap to spawn