Form submit returns time out error