Tap delete button on Gallery image causes a socket.timeout

As above
https://bugzilla.mozilla.org/show_bug.cgi?id=877397