Moved fork prevention to own method