Working on images asynchronously