May be, it's a network issues. Sometimes it can happen You have to handle the network part in your codebase.