Add gravity option to crop function and resume knox responses to avoid ECONNRESET